<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>{$page_title}</title>
<!-- <meta http-equiv="Content-Type" content="text/html; charset={$charset}" />--> 
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="Generator" content="PHP Classifieds" />
<meta name="Description" content="{$meta_desc}" />
<link href="http://{$url}/style/style.css" rel="stylesheet" type="text/css" />
{include file='scriptheaders.tpl'}
</head>

	<body>


{if !$smarty.get.print}
<div id="container">

	<div class="containertable">
			<table cellspacing="0" id="header">
				<tr>
					<td>
						<a href="index.php"><img src="layout_images/new/logo2.gif" alt="Mercado Vial Logo" title="Mercado Vial" /></a>
					</td>
					<td id="right-td">
						<table cellspacing="0" id="topnav">
							<tr>
								{if $member}
								<td id="register"><a href="member.php">{$smarty.const.LA_MEMBER_AREA}</a></td>
								{else}
								<td id="register"><a href="register.php">{$smarty.const.LA_REG}</a></td>
								{/if}
								
								<td id="addad"><a href="choose_cat.php">{$smarty.const.LA_ADD_AD}</a></td>
								{if $member}
								<td id="login"><a href="member_login.php?logout=1">{$smarty.const.LA_LOG_OUT}</a></td>
								{else}
								<td id="login"><a href="member_login.php">{$smarty.const.LA_LOGIN}</a></td>
								{/if}
								<td id="help"><a href="latestwap.php">{$smarty.const.LA_HELP}</a></td>
							</tr>
						</table>
					</td>
				</tr>
			
</table>

<div id="nav">
	<div id="nav_div" style="float: right">
	<ul id="nav_ul" class="nav_menu" style="margin: 0px;">
		<li><a href="index.php" title="{$smarty.const.LA_FRONTPAGE}"><img src="layout_images/new/home_icon.gif" alt="{$smarty.const.LA_FRONTPAGE}" style="margin-top:4px;"/>{$smarty.const.LA_FRONTPAGE}</a></li>
<!-- 
		<li><a href="picturebrowse.php" title="{$smarty.const.LA_BROWSE}"><img src="layout_images/new/pictures_icon.gif" alt="{$smarty.const.LA_BROWSE}" style="margin-top:4px;"/>{$smarty.const.LA_BROWSE}</a></li>
-->
		<li><a href="latestads.php" title="{$smarty.const.LA_LATEST}"><img src="layout_images/new/latest_icon.gif" alt="{$smarty.const.LA_LATEST}" style="margin-top:4px;"/>{$smarty.const.LA_LATEST}</a></li>


		<li><a href="mostviewed.php" title="{$smarty.const.LA_MOST}"><img src="layout_images/new/top_ads_icon.gif" alt="{$smarty.const.LA_MOST}" style="margin-top:4px;"/>{$smarty.const.LA_MOST}</a></li>
<!-- 
		<li><a href="best_rated.php" title="{$smarty.const.LA_BEST_RATED}"><img src="layout_images/new/top_rated_icon.gif" alt="{$smarty.const.LA_BEST_RATED}" style="margin-top:4px;"/>{$smarty.const.LA_BEST_RATED}</a></li>
-->					
		<li><a href="fav.php" title="{$smarty.const.LA_MY_FAV}"><img src="layout_images/new/favorites_icon.gif" alt="{$smarty.const.LA_MY_FAV}" style="margin-top:4px;"/>{$smarty.const.LA_MY_FAV}</a></li>
		<li><a href="search.php" title="{$smarty.const.LA_SEARCH}"><img src="layout_images/new/search_icon.gif" alt="{$smarty.const.LA_SEARCH}" style="margin-top:4px;"/>{$smarty.const.LA_SEARCH}</a></li>
	</ul>					
	</div>
	<div id="searchDiv" style="float: left; padding: 5px;">
		<form action="search.php" method="post" style="margin: 0px;">
			{$smarty.const.LA_SEARCH}&nbsp;<input name="searchword" size="15"/>&nbsp;
			<!-- 
			<select name="catid_search">
				<option value="0">{$smarty.const.LA_ALL}</option>{$dropdown_catlist}
			</select>
			&nbsp;
			-->
			<input value="{$smarty.const.LA_SEARCH}" name="do_search" type="image" src="layout_images/new/search_icon.gif"/>
		</form>
	</div>		
</div>	
<!-- BREADCRUMB -->		
<div id="subnav" style="width:100%; height: 25px;">

	<p style="padding: 3px; float:left">{$linked_path}</p>
	
	<p style="padding: 3px; float:right;">
	 <a href="index.php?catid={$smarty.const.ID_CAT_COMPRA}">Compra</a> | 
	 <a href="index.php?catid={$smarty.const.ID_CAT_ALQUILER}">Alquiler</a> | 
	 <a href="index.php?catid={$smarty.const.ID_CAT_SERVICIOS}">Servicios</a>
	</p>
{*}
	<p style="text-align:right;">
	<a href="?setlang=eng{$flag_params}"><img src="layout_images/flags/us.gif" alt="English" title="English" /></a>&nbsp;&nbsp;
	<a href="?setlang=eng{$flag_params}"><img src="layout_images/flags/gb.gif" alt="English" title="English" /></a>&nbsp;&nbsp;
	<a href="?setlang=fre{$flag_params}"><img src="layout_images/flags/fr.gif" alt="French" title="French" /></a>&nbsp;&nbsp;
	<a href="?setlang=ger{$flag_params}"><img src="layout_images/flags/de.gif" alt="German" title="German" /></a>&nbsp;&nbsp;
	<a href="?setlang=gre{$flag_params}"><img src="layout_images/flags/gr.gif" alt="Greek" title="Greek" /></a>&nbsp;&nbsp;
	<a href="?setlang=ita{$flag_params}"><img src="layout_images/flags/it.gif" alt="Italian" title="Italian" /></a>&nbsp;&nbsp;
	<a href="?setlang=bra{$flag_params}"><img src="layout_images/flags/br.gif" alt="Brazilian-Portuguese"  title="Brazilian-Portuguese" /></a>&nbsp;&nbsp;
	<a href="?setlang=ukr{$flag_params}"><img src="layout_images/flags/ua.gif" alt="Ukrainian"  title="Ukrainian" /></a>&nbsp;&nbsp;
	<a href="?setlang=por{$flag_params}"><img src="layout_images/flags/pt.gif" alt="Portuguese"  title="Portuguese" /></a>&nbsp;&nbsp;
	<a href="?setlang=rom{$flag_params}"><img src="layout_images/flags/ro.gif" alt="Romanian" title="Romanian" /></a>&nbsp;&nbsp;
	<a href="?setlang=ned{$flag_params}"><img src="layout_images/flags/nl.gif" alt="Dutch" title="Dutch" /></a>&nbsp;&nbsp;
	<a href="?setlang=spa{$flag_params}"><img src="layout_images/flags/es.gif" alt="Spanish" title="Spanish" /></a>&nbsp;&nbsp;
	<a href="?setlang=dan{$flag_params}"><img src="layout_images/flags/dk.gif" alt="Danish" title="Danish" /></a>&nbsp;&nbsp;
	<a href="?setlang=nor{$flag_params}"><img src="layout_images/flags/no.gif" alt="Norwegian" title="Norwegian" /></a>
	{$flags}
	</p>
{/*}

				</div>			
{php}
$section="banner_section1";
include "ad_get.php";
{/php}

</div>
{/if}
